﻿@model SVNUG.Tracker.Models.Task

@{
    ViewBag.Title = "SVNUG.Tracker - Edit Task";
}

<script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
<script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
<script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>

@{Html.EnableClientValidation();}

<h2>Edit Task</h2>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
        
    <fieldset>
        <legend>Fields</legend>
            
        @Html.EditorForModel()
            
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>